package ioc04;

import lombok.Data;

/**
 * Author：汤小洋
 * Date：2023-07-04 10:24
 * Description：<描述>
 */
@Data
public class SpringBean {
    private OtherBean otherBean;

    public SpringBean() {
        System.out.println("无参构造方法。。。。。。");
    }

    public SpringBean(OtherBean otherBean) {
        System.out.println("带参构造方法。。。。。。");
        this.otherBean = otherBean;
    }

}
